<template>
	<view>
		<u-row customStyle="margin-bottom: 80px">
			<u-col span="12">
				<view>
					<u-navbar
					    title="审核记录"
						titleStyle="font-weight:bold"
					    :safeAreaInsetTop="true"
						:fixed='true'
						bgColor="#FFBE59"
						@leftClick="leftClick"
					>
					    <view
					        class="u-nav-slot"
					        slot="left"
							
					    >
					        <u-icon
					            name="arrow-left"
					            size="20"
								color="black"
					        ></u-icon>
					    </view>
					</u-navbar>
				</view>
			</u-col>
		</u-row>
		<uni-card title="简历审核" class="auditRecordsClass" v-for="(item,index) in auditRecordsList">
				<span>审核老师 ：</span>{{item.createBy}}<br>
				<span>审核情况 ：</span>{{item.auditStatus==1?'已通过':'未通过'}}<br>
				<span>审核时间 ：</span>{{item.createTime}}<br>
				<span>老师意见 ：</span>
				<u-read-more>
						{{item.auditOpinion}}
				</u-read-more>
		</uni-card>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content: '',
				stuId:'',
				auditRecordsList:{},
			};
		},
		created() {
			this.$axios.get('/audit/auditRecords/auditShowById?stuId='+this.stuId).then((res)=>{
				if(res.data.success){
					this.auditRecordsList = res.data.result;
				}else{
					uni.showToast({
						icon: 'error',
						position: 'bottom',
						title: '暂无审核记录'
					});
				}
			})
		},
		methods:{
			//左侧点击返回上一页面
			leftClick(){
				uni.reLaunch({
					url: '/pages/service/practicaltrainingservice/resume/resume',
				});
			},
		},
		//接收路径参数
		onLoad: function (option) {
			this.stuId = option.stuId;
		}
	}
</script>

<style lang="less">
	
</style>
